package cn.growthgate.fgo.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;

import javax.validation.constraints.NotBlank;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 职介
 * </p>
 *
 * @author GrowthGate
 * @since 2019-05-11
 */
@TableName("t_data_class")
public class Class extends Model<Class> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	/**
	 * 名称
	 */
	@NotBlank(message = "名称不能为空")
	private String name;

	/**
	 * 日文名称
	 */
	@NotBlank(message = "日文名称不能为空")
	private String jName;

	/**
	 * 金图标
	 */
	private String goldenIcon;

	/**
	 * 银图标
	 */
	private String silverIcon;

	/**
	 * 铜图标
	 */
	private String bronzeIcon;

	/**
	 * 黑图标
	 */
	private String blackIcon;

	/**
	 * 金卡背
	 */
	private String goldenImage;

	/**
	 * 银卡背
	 */
	private String silverImage;

	/**
	 * 铜卡背
	 */
	private String bronzelmage;

	/**
	 * 黑卡背
	 */
	private String blackImage;

	/**
	 * 伤害系数
	 */
	private BigDecimal damage;

	/**
	 * 集星权重
	 */
	private Integer collectingStars;

	/**
	 * 出星率
	 */
	private Integer starRate;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getjName() {
		return jName;
	}

	public void setjName(String jName) {
		this.jName = jName;
	}

	public String getGoldenIcon() {
		return goldenIcon;
	}

	public void setGoldenIcon(String goldenIcon) {
		this.goldenIcon = goldenIcon;
	}

	public String getSilverIcon() {
		return silverIcon;
	}

	public void setSilverIcon(String silverIcon) {
		this.silverIcon = silverIcon;
	}

	public String getBronzeIcon() {
		return bronzeIcon;
	}

	public void setBronzeIcon(String bronzeIcon) {
		this.bronzeIcon = bronzeIcon;
	}

	public String getBlackIcon() {
		return blackIcon;
	}

	public void setBlackIcon(String blackIcon) {
		this.blackIcon = blackIcon;
	}

	public String getGoldenImage() {
		return goldenImage;
	}

	public void setGoldenImage(String goldenImage) {
		this.goldenImage = goldenImage;
	}

	public String getSilverImage() {
		return silverImage;
	}

	public void setSilverImage(String silverImage) {
		this.silverImage = silverImage;
	}

	public String getBronzelmage() {
		return bronzelmage;
	}

	public void setBronzelmage(String bronzelmage) {
		this.bronzelmage = bronzelmage;
	}

	public String getBlackImage() {
		return blackImage;
	}

	public void setBlackImage(String blackImage) {
		this.blackImage = blackImage;
	}

	public BigDecimal getDamage() {
		return damage;
	}

	public void setDamage(BigDecimal damage) {
		this.damage = damage;
	}

	public Integer getCollectingStars() {
		return collectingStars;
	}

	public void setCollectingStars(Integer collectingStars) {
		this.collectingStars = collectingStars;
	}

	public Integer getStarRate() {
		return starRate;
	}

	public void setStarRate(Integer starRate) {
		this.starRate = starRate;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Class [id=" + id + ", name=" + name + ", jName=" + jName + ", goldenIcon=" + goldenIcon
				+ ", silverIcon=" + silverIcon + ", bronzeIcon=" + bronzeIcon + ", blackIcon=" + blackIcon
				+ ", goldenImage=" + goldenImage + ", silverImage=" + silverImage + ", bronzelmage=" + bronzelmage
				+ ", blackImage=" + blackImage + ", damage=" + damage + ", collectingStars=" + collectingStars
				+ ", starRate=" + starRate + "]";
	}

}
